﻿using System;

namespace CHomeWeather
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [MTAThread]
        static void Main(string[] args)
        {
            bool updateAutoRun = false;

            if (null != args && args.Length == 1)
            {
                updateAutoRun = Util.APP_RUN_AT_TIME.Equals(args[0], StringComparison.InvariantCultureIgnoreCase);
            }

            Util.Update(updateAutoRun);
        }
    }
}